package com.xcf.service.business.finance;

import java.util.List;
import java.util.Map;

import com.xcf.util.PageData;

public interface PaymentService {
	/**
	 * 成本信息内容
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public List<Map> findPayment(PageData pd)throws Exception;
	/**
	 * 成本明细
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public List<Map> findPaymentDetail(PageData pd)throws Exception;
	/**
	 * 修改状态为已审核
	 * @param pd
	 * @throws Exception
	 */
	public void editState(PageData pd)throws Exception;
	/**
	 * 修改状态
	 * @param pd
	 * @throws Exception
	 */
	public void editDetailState(PageData pd)throws Exception;
	/**
	 * 新增拆分记录信息
	 * @param pd
	 * @throws Exception
	 */
	public void addPaymentRecord(PageData pd)throws Exception;
	/**
	 * 成本收入信息
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public List<Map>findPaymentIncomeDetail(PageData pd)throws Exception;
	/**
	 * 根据业务编号查发票号
	 * @param bill_code
	 * @return
	 * @throws Exception
	 */
	public List<Map>findInvoiceCodeByBillCode(PageData pd)throws Exception;
	/**
	 * 根据发票号查业务编号
	 * @param invoice_code
	 * @return
	 * @throws Exception
	 */
	public List<Map>findBillCodeByInvoiceCode(PageData pd)throws Exception;
	/**
	 * 根据发票号和业务编号查询金额
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public List<Map>finAmountByCode(PageData pd)throws Exception;
	/**
	 * 更新抵冲状态
	 * @param pd
	 * @throws Exception
	 */
	public void updateStateById(PageData pd)throws Exception;
	/**
	 * 更新抵冲状态
	 * @param pd
	 * @throws Exception
	 */
	public void updateStateByCode(PageData pd)throws Exception;
	/**
	 * 通过id查找备注
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public PageData findPaymentCostInfoByid(String id) throws Exception;
	/**
	 * 通过付款单号查询支付明细
	 * @param payment_app_code
	 * @return
	 * @throws Exception
	 */
	public List<Map> findPaymentDeatilInfo(String payment_app_code)throws Exception;
}
